package com.xjj.sso.client.rabbitmq;

import java.util.Date;

import org.apache.http.client.utils.DateUtils;


public class TestProducer {

	public static void main(String[] args) throws Exception {

		
		new Producer("sso.logout").sendMessage(DateUtils.formatDate(new Date(),"yyyy-MM-dd hh:mm:ss").getBytes("utf-8"));
		new Producer("sso.logout").sendMessage(DateUtils.formatDate(new Date(),"yyyy-MM-dd hh:mm:ss").getBytes("utf-8"));
		new Producer("sso.logout").sendMessage(DateUtils.formatDate(new Date(),"yyyy-MM-dd hh:mm:ss").getBytes("utf-8"));
	}

}
